//
//  YMOrderButton.swift
//  NewVersionDemo
//
//  Created by zeng on 2018/3/19.
//  Copyright © 2018年 youmy. All rights reserved.
//

import UIKit

class YMOrderButton: UIButton {

    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        self.layer.cornerRadius = 3
        self.layer.borderColor = self.titleLabel?.textColor.cgColor
        self.layer.borderWidth = 1
        self.clipsToBounds = true
    }
 

}
